home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EDUCORP 8
/
Educorp2Compilation.sit
/
educorp2
/
Programming (2300, 7000)
/
2307 Programming v.5
/
XLisp
/
XLISP Examples
/
Fact.LSP
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Lisp/Scheme
|
1985-01-26
|
84 b
|
4 lines
(defun factorial (n)
(cond ((= n 1) 1)
(t (* n (factorial (- n 1))))))